package Hook::Modular::Crypt::Base64;

use warnings;
use strict;
use MIME::Base64 ();


our $VERSION = '0.07';


use constant id => 'base64';


sub decrypt {
    my ($self, $text) = @_;
    MIME::Base64::decode($text);
}


sub encrypt {
    my ($self, $text) = @_;
    MIME::Base64::encode($text, '');
}


1;


__END__

{% USE p = PodGenerated %}

=head1 NAME

{% p.package %} - Base64 crypt mechanism for passwords in workflows

=head1 SYNOPSIS

    {% p.package %}->new;

=head1 DESCRIPTION

None yet.

{% PROCESS standard_pod %}

=cut

